import { BasePop } from "../../Core/Base/BasePop";
import Dynamic_AutoUi from "../AutoUi/Dynamic_AutoUi";

const { ccclass, property } = cc._decorator;

@ccclass
export default class DynamicPop extends BasePop {

    private auto_ui: Dynamic_AutoUi = null
    //通常在这里处理界面业务逻辑初始化
    protected onPreShow(): void {
        this.auto_ui = this.getAutoUI(Dynamic_AutoUi)

    }

    // 自定义消息注册
    onCustomEventInit() {

    }

    // 点击事件注册
    onClickEventInit() {
        this.addClick(this.auto_ui.btn_close, this.onCloseClick)
    }

}
